Platform Explorer / Nuxeo Platform 5.8

Contribution studio.extensions.template-module-demo--versioningRules

This contribution is part of XML component studio.extensions.template-module-demo inside nuxeo-template-rendering-samples-5.8.jar

Extension Point

Extension point versioningRules of component VersioningService.

Contributed Items

  • <versioningRule typeName="CustomerReference">
          <initialState major="0" minor="0"/>
          <options lifeCycleState="*">
            <none default="true"/>
            <minor/>
            <major/>
          </options>
        </versioningRule>
  • <versioningRule typeName="InterventionStatement">
          <initialState major="0" minor="0"/>
          <options lifeCycleState="*">
            <none default="true"/>
            <minor/>
            <major/>
          </options>
        </versioningRule>

XML Source

<extension point="versioningRules" target="org.nuxeo.ecm.core.versioning.VersioningService">
    <versioningRule typeName="CustomerReference">
      <initialState major="0" minor="0"/>
      <options lifeCycleState="*">
        <none default="true"/>
        <minor/>
        <major/>
      </options>
    </versioningRule>
    <versioningRule typeName="InterventionStatement">
      <initialState major="0" minor="0"/>
      <options lifeCycleState="*">
        <none default="true"/>
        <minor/>
        <major/>
      </options>
    </versioningRule>
  </extension>